import React,{useEffect} from 'react';
import style from './TableHeaderContent2.module.less'; // Import the CSS module for styles
import { login,send_fs } from "@/apis/user.js"
import { message } from 'antd'
import { useTranslation } from 'react-i18next'
const TableHeaderContent1 = () => {
  useEffect(() => {
		return ()=>{}
	  }, []);
  const getAdapter = ()=>{
		send_fs().then(res => {
      message.info(res.status.msg)
		})
	}
	const { t } = useTranslation();
  return (
    <React.Fragment>
    <div className={style['tableheader']}>
      <div className={style['tableheader_li']}>{t('rakebackget.title8')}</div>
      <div className={style['tableheader_li']}>{t('rakebackget.title10')}</div>
      <div className={style['tableheader_li']}>{t('rakebackget.title11')}</div>
    </div>
    	<div className={style['tablebady']}>
        <div className={style['tablebadyul']}>
          <div className={style['tablebadyli']}>
            <span>--</span>
            <span>2023-11-08</span>
            <span onClick={()=>{getAdapter()}}>{t('rakebackget.title11')}</span>
          </div>
          <div className={style['tablebadyli']}>
            <span>0</span>
            <span>2023-11-07</span>
            <span>0</span>
          </div>
        </div>
    </div>
    </React.Fragment>
  );
};

export default TableHeaderContent1;